<h1>Редактирование пользователя админки</h1>
<?php echo CHtml::beginForm('','POST',array('id'=>'admin_add')); ?><br>
<?php echo CHtml::errorSummary($form)?>
<table cellpadding="0" cellspacing="0" border="0">
    <tr>
        <td class="first">Email *</td>
        <td class="second">
            <?php echo CHtml::activeTextField($form,'email',array('style'=>'width:100%;', 'value'=>$row['email'])); ?>
        </td>
    </tr>
    <tr>
        <td class="first">Пароль *</td>
        <td class="second">
            <?php echo CHtml::activePasswordField($form,'password',array('style'=>'width:100%;')); ?>
        </td>
    </tr>
    <tr>
        <td class="first" style="padding-top:10px;" width="110">Группа *</td>
        <td class="second" style="padding-top:10px;">
            <?php $form->role = $row['role'];
            echo CHtml::activeDropDownList($form, 'role', $list) ?>
        </td>
    </tr>
    <tr>
        <td class="first"></td>
        <td>
            <div style="float: left; width: 350px;">
                <br>
                <div><button type="submit">Сохранить изменения</button></div>
                <br>
            </div>
        </td>
    </tr>
</table>
<?php echo CHtml::endForm(); ?>